﻿using Newtonsoft.Json;
using System;
using System.Linq;

namespace Onetube.Entities.EntitiesRequest
{
    public class SnippetSubscription
    {
        [JsonProperty("snippet")]
        public Snippet snippet { get; set; }
        public class Snippet
        {
            [JsonProperty("resourceId")]
            public ResourceId resourceId { get; set; }
        }

        public class ResourceId
        {
            [JsonProperty("channelId")]
            public string channelId { get; set; }
        }
    }
}